//change to ASCII 

import java.io.*;

public class Main{
	public static void main(String[] args) throws FileNotFoundException,IOException{
		
		FileOutputStream fileA=new FileOutputStream(new File(args[0]));
		fileA.write(1);
		fileA.close();//output binary

		PrintStream fileB=new PrintStream (new File(args[0]+"_1"));
		fileB.println(1);
		fileB.close();//output ASCII
	}
}